package ks.po;

import java.util.ArrayList;
import java.util.List;

public class Teacher
{
    private int id;
    private String name;
    private List<Course> courses = new ArrayList<Course>();
    public int getId()
    {
        return id;
    }
    public void setId(int id)
    {
        this.id = id;
    }
    public String getName()
    {
        return name;
    }
    public void setName(String name)
    {
        this.name = name;
    }
    public List<Course> getcourses()
    {
        return courses;
    }
    public void setcourses(List<Course> courses)
    {
        this.courses = courses;
    }
}